﻿using UnityEngine;
using System.Collections;

public class jump : MonoBehaviour {

	float velocity;
	CharacterMotor characterMotor;	

	// Use this for initialization
	void Start () {

	}
	
	// Update is called once per frame
	void Update () {

		
	
	}

	void OnTriggerEnter(Collider obj)
	{
		if(obj.CompareTag("Player1"))
		{
			//characterMotor = obj.transform.gameObject.GetComponent(CharacterMotor);
			//characterMotor.SetVelocity(Vector3.up*5);
		}
	}
}
